package com.sptpc.demo.service;

import com.sptpc.demo.model.Drink;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface IDrinkService {
    // 查询所有饮品
    Page<Drink> getAllDriks(PageRequest pageRequest);
    void addNewDrink(Drink drink);
}
